package com.yantong.mapper;

import com.yantong.pojo.StoreWxCard;
import com.yantong.pojo.StoreWxCardExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StoreWxCardMapper {
    long countByExample(StoreWxCardExample example);

    int deleteByExample(StoreWxCardExample example);

    int deleteByPrimaryKey(Long id);

    int insert(StoreWxCard record);

    int insertSelective(StoreWxCard record);

    List<StoreWxCard> selectByExample(StoreWxCardExample example);

    StoreWxCard selectOneByExample(StoreWxCardExample example);

    StoreWxCard selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") StoreWxCard record, @Param("example") StoreWxCardExample example);

    int updateByExample(@Param("record") StoreWxCard record, @Param("example") StoreWxCardExample example);

    int updateByPrimaryKeySelective(StoreWxCard record);

    int updateByPrimaryKey(StoreWxCard record);


    StoreWxCard selectbyMidAndType(@Param("mid") Long mid, @Param("type") Integer type);




}